<ion-header>
  <ion-navbar mode="ios">
    <ion-title mode="ios">
      登录
    </ion-title>
  </ion-navbar>
</ion-header>
<ion-content style="position: relative;background-color:#fff;">
  <img src="../../assets/imgs/icon.png" class="logo" alt="">
  <p style="margin: 10px 0 70px;text-align: center;font-size:13px;">每天学一点，目标近一点</p>
  <div class="input-group">
    <p class="login-text"></p>
    <div class="inputgroup2">
      <ion-item>
        <ion-label style="color:#999;font-size:14px;">手机号</ion-label>
        <ion-input type="text" value="" placeholder="请输入手机号" [(ngModel)]="telephone" class="input"></ion-input>
      </ion-item>
      <ion-item class="input2">
        <ion-label style="color:#999;font-size:14px;">验证码</ion-label>
        <ion-input type="text" placeholder="请输入验证码" [(ngModel)]="smsCode" class="input" :maxlength="4"></ion-input>
      </ion-item>
      <button class="smscode" *ngIf="smsBtn" (click)="getSmsCode()">获取验证码</button>
      <button class="resmscode" *ngIf="!smsBtn" disabled="true">{{ '重新获取(' + time + 'S)' }}</button>
    </div>
  </div>
  <button ion-button (click)="login()" class="btn_2"><span class="ft">登录</span></button>
  <p style="color:#666;font-size:12px;margin-top:5px;text-align:center;">*首次登录即为注册</p>
</ion-content>
